import ReactDOM from "react-dom";

function App() {
    return (
        <div className="App">
            <h1>hello</h1>
            <button
                onClick={() => {
                    ReactDOM.unmountComponentAtNode(
                        document.querySelector("#root")
                    );
                }}
            >
                点击
            </button>
        </div>
    );
}

export default App;
